package me.zhengjie.business.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

/**
 * 照护保险登记信息
 * @author xiahongbo
 * @description
 * @date 2022-08-17
 **/
@Entity
@Data
@Table(name="KC21")
@AllArgsConstructor
@NoArgsConstructor
public class KC21 {

    // 个人编码
    @Column(name = "AAC001")
    private String aac001;

    // 姓名
    @Column(name = "AAC003")
    private String aac003;

    // 参保单位
    @Column(name = "AAB004")
    private String aab004;

    // 医疗类别
    @Column(name = "AKA130")
    private String aka130;

    // 定点机构编码
    @Column(name = "AKB020")
    private String akb020;

    // 定点机构名称
    @Column(name = "AKB021")
    private String akb021;

    // 入院时间
    @Temporal(TemporalType.DATE)
    @Column(name = "AKC192")
    private Date akc192;

    // 出院时间
    @Temporal(TemporalType.DATE)
    @Column(name = "AKC194")
    private Date akc194;

    // 在院状态
    @Column(name = "CKC119")
    private String ckc119;

    // 结算时间
    @Column(name = "AAE036_JS")
    private String aae036Js;

    // 住院编码
    @Id
    @Column(name = "AKC190")
    private String akc190;

    // 登记变更时间
    @Column(name = "AAE036")
    private String aae036;

    // 人员类别
    @Column(name = "AAC008")
    private String aac008;

}
